import 'package:mobx/mobx.dart';

part 'ai_chat_message_print.g.dart';

/// AI聊天消息数据模型
class AiChatMessagePrint = _AiChatMessagePrint with _$AiChatMessagePrint;

abstract class _AiChatMessagePrint with Store {
  /// 消息ID
  final String id;

  /// 消息内容
  @observable
  String content;

  /// 是否为用户消息
  final bool isUser;

  /// 创建时间
  final DateTime createdAt;

  _AiChatMessagePrint({
    required this.id,
    required this.content,
    required this.isUser,
    required this.createdAt,
  });
}
